package com.baiyun.test;

import javax.swing.*;

public class MyJFrame4 extends JFrame {
    public MyJFrame4(){
        //创建登录的按钮
        JButton jButtonRegister = new JButton();
        jButtonRegister.setIcon(new ImageIcon("image/register/注册按钮.png"));
        jButtonRegister.setBounds(133,260,90,40);
//        this.getContentPane().add(jTextFieldUsername);

        //添加背景
        JLabel jLabelBg = new JLabel(new ImageIcon("image/register/background.png"));
        jLabelBg.setBounds(0, 0, 470, 390);
        this.getContentPane().add(jLabelBg);
    }
}
